package com.service;

import com.entity.ArticalComment;
import com.util.sql.PageModel;

public interface ArticalCommenServie {
    /**
     * 发送
     * @param ar
     * @return
     */
    ArticalComment sendComment(ArticalComment ar);

    /**
     * 修改
     * @param ar
     * @return
     */
    int updateComment(ArticalComment ar);

    /**
     * 删除
     * @param ar
     * @return
     */
    int deleteComment(ArticalComment ar);

    /**
     * 查询
     * @param ar
     * @return
     */
    ArticalComment queryComment(ArticalComment ar);

    /**
     * 分页
     * @param page
     * @param size
     * @param ar
     * @return
     */
    PageModel queryPage(int page, int size, ArticalComment ar);
}
